package com.lovo.stock.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

/**
 * 销售表类
 */
@Data
@TableName("t_sale")
public class SaleBean {
    @TableId(value = "sale_id",type = IdType.AUTO)
    private Integer saleId;
    //客户名称
    private String saleCustomerName;
    //销售员
    private String saleSalesperson;
    //销售日期
    private String saleDate;
    //订单总金额
    private double saleMoney;
    //送货地址
    private String saleAddress;
    //销售明细
    @TableField(exist = false)
    private List<SadetailBean> sadetailBeans;

}
